export interface Product {
  id: number
  title: string
  images: string[]
  price: number
  description: string
  categoryId: number
  userId: number
  condition: number // 商品成色 1-10 成新
  shippingMethod: 'express' | 'self' | 'both' // express: 快递, self: 自提, both: 两者都可
  shippingFee: number
  createdAt: string
  status: 'on' | 'off' | 'sold' // on: 在售, off: 下架, sold: 已售出
}

export interface Category {
  id: number
  name: string
} 